package com.sh.data.engine.domain.common.model.domain;

public class Label extends Position {

    private String fontFamily;

    private String fontSize;

    private String content;

    public void setFontFamily(String fontFamily) {
        this.fontFamily = fontFamily;
    }

    public void setFontSize(String fontSize) {
        this.fontSize = fontSize;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }

        if (!(o instanceof Label)) {
            return false;
        }
        Label other = (Label) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$fontFamily = getFontFamily(), other$fontFamily = other.getFontFamily();
        if ((this$fontFamily == null) ? (other$fontFamily != null)
            : !this$fontFamily.equals(other$fontFamily)) {
            return false;
        }
        Object this$fontSize = getFontSize(), other$fontSize = other.getFontSize();
        if ((this$fontSize == null) ? (other$fontSize != null)
            : !this$fontSize.equals(other$fontSize)) {
            return false;
        }
        Object this$content = getContent(), other$content = other.getContent();
        return !((this$content == null) ? (other$content != null)
            : !this$content.equals(other$content));
    }

    protected boolean canEqual(Object other) {
        return other instanceof Label;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $fontFamily = getFontFamily();
        result = result * 59 + (($fontFamily == null) ? 43 : $fontFamily.hashCode());
        Object $fontSize = getFontSize();
        result = result * 59 + (($fontSize == null) ? 43 : $fontSize.hashCode());
        Object $content = getContent();
        return result * 59 + (($content == null) ? 43 : $content.hashCode());
    }

    public String toString() {
        return "Label(fontFamily=" + getFontFamily() + ", fontSize=" + getFontSize() + ", content="
            + getContent() + ")";
    }

    public String getFontFamily() {
        return this.fontFamily;
    }

    public String getFontSize() {
        return this.fontSize;
    }

    public String getContent() {
        return this.content;
    }
}